package cn.tyoui.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.tyoui.bean.XyffBean;
import cn.tyoui.mapping.XyffManageMapper;
import cn.tyoui.service.XyffManageService;

@Service("xyffManageService")
public class XyffManageServiceImpl implements XyffManageService {

	@Resource
	private XyffManageMapper xyffManageMapper;
	@Override
	public boolean addXyff(XyffBean xyff) throws Exception {
		return xyffManageMapper.addXyff(xyff);
	}
	@Override
	public List<XyffBean> queryXyff(XyffBean xyff) throws Exception {
		return xyffManageMapper.queryXyff(xyff);
	}
	@Override
	public void changeXyff(XyffBean xyff) throws Exception {
		xyffManageMapper.changeXyff(xyff);
	}
	@Override
	public void deleteXyff(String id) throws Exception {
		xyffManageMapper.deleteXyff(id);
	}

}
